package cn.hs.common;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 参考例子 https://spring.io/guides/gs/reactive-rest-service/
 *
 */

@SpringBootApplication
public class App
{
    @RequestMapping("/")
    public String home() {
        return "Hello";
    }

    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
